Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayExt Class / GetFloat Method / GetFloat(IPdfArray,Int32,Nullable<Single>) Method
The current array.
The index of the item to return.
The default value.

In This Topic
    GetFloat(IPdfArray,Int32,Nullable<Single>) Method
    In This Topic
    Gets the float value at the specified index.

    If the value cannot be converted to a float, returns defValue and adds a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog.

    Syntax
    'Declaration
     
    Public Overloads Shared Function GetFloat( _
       ByVal array As IPdfArray, _
       ByVal index As System.Integer, _
       ByVal defValue As System.Nullable(Of Single) _
    ) As System.Nullable(Of Single)
    public static System.Nullable<float> GetFloat( 
       IPdfArray array,
       System.int index,
       System.Nullable<float> defValue
    )

    Parameters

    array
    The current array.
    index
    The index of the item to return.
    defValue
    The default value.

    Return Value

    The value at the specified index.
    See Also